﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title - 小悠小悠</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="/Areas/Admin/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/Areas/Admin/css/bootstrap-responsive.min.css" />
    @RenderSection("styles", false)
    <link rel="stylesheet" href="/Areas/Admin/css/fullcalendar.css" />
    <link rel="stylesheet" href="/Areas/Admin/css/matrix-style.css" />
    <link rel="stylesheet" href="/Areas/Admin/css/matrix-media.css" />
    <link href="/Areas/Admin/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link rel="stylesheet" href="/Areas/Admin/css/jquery.gritter.css" />
    @*<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>*@

</head>
<body>
    <!--Header-part-->
    <div id="header">
        <h1><a href="dashboard.html">Matrix Admin</a></h1>
    </div>
    <!--close-Header-part-->
    <!--top-Header-menu-->
    <div id="user-nav" class="navbar navbar-inverse">
        <ul class="nav">
            <li class="dropdown" id="profile-messages">
                <a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle"><i class="icon icon-user"></i>  <span class="text">@User.Identity.Name ，你好！</span><b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li><a href="#"><i class="icon-user"></i> My Profile</a></li>
                    <li class="divider"></li>
                    <li><a href="#"><i class="icon-check"></i> My Tasks</a></li>
                    <li class="divider"></li>
                    <li><a href="@Url.Action("Logout", "Home", new {Area="Admin" })"><i class="icon-key"></i> 退出</a></li>
                </ul>
            </li>
            <li class="dropdown" id="menu-messages">
                <a href="#" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><i class="icon icon-envelope"></i> <span class="text">Messages</span> <span class="label label-important">5</span> <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li><a class="sAdd" title="" href="#"><i class="icon-plus"></i> new message</a></li>
                    <li class="divider"></li>
                    <li><a class="sInbox" title="" href="#"><i class="icon-envelope"></i> inbox</a></li>
                    <li class="divider"></li>
                    <li><a class="sOutbox" title="" href="#"><i class="icon-arrow-up"></i> outbox</a></li>
                    <li class="divider"></li>
                    <li><a class="sTrash" title="" href="#"><i class="icon-trash"></i> trash</a></li>
                </ul>
            </li>
            <li class=""><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">Settings</span></a></li>
            <li class=""><a title="" href="@Url.Action("Logout", "Home", new {Area="Admin" })"><i class="icon icon-share-alt"></i> <span class="text">退出</span></a></li>
        </ul>
    </div>
    <!--close-top-Header-menu-->
    <!--start-top-serch-->
    <div id="search">
        <input type="text" placeholder="Search here..." />
        <button type="submit" class="tip-bottom" title="Search"><i class="icon-search icon-white"></i></button>
    </div>
    <!--close-top-serch-->
    <!--sidebar-menu-->
    <div id="sidebar">
        <a href="#" class="visible-phone"><i class="icon icon-home"></i> 菜单</a>
        <ul>
            <li><a href="@Url.Action("","")"><i class="icon icon-home"></i> <span>文章列表</span></a> </li>
            <li><a href="@Url.Action("","Article")"><i class="icon icon-signal"></i> <span>添加文章</span></a> </li>
            <li><a href="@Url.Action("","User")"><i class="icon icon-inbox"></i> <span>用户管理</span></a> </li>
            <li><a href="@Url.Action("","Category")"><i class="icon icon-th"></i> <span>分类管理</span></a></li>
            <li><a href="@Url.Action("","Tag")"><i class="icon icon-fullscreen"></i> <span>标签管理</span></a></li>
            <li><a href="@Url.Action("","Menu")"><i class="icon icon-fullscreen"></i> <span>菜单管理</span></a></li>
            <li><a href="@Url.Action("","Theme")"><i class="icon icon-fullscreen"></i> <span>主题管理</span></a></li>
            @*<li class="submenu">
                    <a href="#"><i class="icon icon-th-list"></i> <span>Forms</span> <span class="label label-important">3</span></a>
                    <ul>
                        <li><a href="form-common.html">Basic Form</a></li>
                        <li><a href="form-validation.html">Form with Validation</a></li>
                        <li><a href="form-wizard.html">Form with Wizard</a></li>
                    </ul>
                </li>*@
            @*<li><a href="buttons.html"><i class="icon icon-tint"></i> <span>Buttons &amp; icons</span></a></li>
                <li><a href="interface.html"><i class="icon icon-pencil"></i> <span>Eelements</span></a></li>*@
            @*<li class="submenu">
                    <a href="#"><i class="icon icon-file"></i> <span>Addons</span> <span class="label label-important">5</span></a>
                    <ul>
                        <li><a href="index2.html">Dashboard2</a></li>
                        <li><a href="gallery.html">Gallery</a></li>
                        <li><a href="calendar.html">Calendar</a></li>
                        <li><a href="invoice.html">Invoice</a></li>
                        <li><a href="chat.html">Chat option</a></li>
                    </ul>
                </li>
                <li class="submenu">
                    <a href="#"><i class="icon icon-info-sign"></i> <span>Error</span> <span class="label label-important">4</span></a>
                    <ul>
                        <li><a href="error403.html">Error 403</a></li>
                        <li><a href="error404.html">Error 404</a></li>
                        <li><a href="error405.html">Error 405</a></li>
                        <li><a href="error500.html">Error 500</a></li>
                    </ul>
                </li>
                <li class="content">
                    <span>Monthly Bandwidth Transfer</span>
                    <div class="progress progress-mini progress-danger active progress-striped">
                        <div style="width: 77%;" class="bar"></div>
                    </div>
                    <span class="percent">77%</span>
                    <div class="stat">21419.94 / 14000 MB</div>
                </li>
                <li class="content">
                    <span>Disk Space Usage</span>
                    <div class="progress progress-mini active progress-striped">
                        <div style="width: 87%;" class="bar"></div>
                    </div>
                    <span class="percent">87%</span>
                    <div class="stat">604.44 / 4000 MB</div>
                </li>*@
        </ul>
    </div>
    <!--sidebar-menu-->
    <!--main-container-part-->
    @RenderBody()

    <!--end-main-container-part-->
    <!--Footer-part-->
    <div class="row-fluid">
        <div id="footer" class="span12"> 2013 &copy; Matrix Admin. Brought to you by <a href="http://themedesigner.in/">Themedesigner.in</a> </div>
    </div>
    <!--end-Footer-part-->
    <script src="/Areas/Admin/js/excanvas.min.js"></script>
    @*@Scripts.Render("~/bundles/jquery")*@
    <script src="/Areas/Admin/js/jquery.min.js"></script>
    <script > $('#sidebar li a[href="@Request.RawUrl.ToString()"]').parent().addClass('active');</script>
    @*<script src="/Areas/Admin/js/jquery.ui.custom.js"></script>*@
    @*<script src="/Areas/Admin/js/bootstrap.min.js"></script>*@
    @Scripts.Render("~/bundles/bootstrap")
    <script src="/Areas/Admin/js/jquery.flot.min.js"></script>
    <script src="/Areas/Admin/js/jquery.flot.resize.min.js"></script>
    @*<script src="/Areas/Admin/js/jquery.peity.min.js"></script>
        <script src="/Areas/Admin/js/fullcalendar.min.js"></script>*@
    <script src="/Areas/Admin/js/matrix.js"></script>
    @*<script src="/Areas/Admin/js/matrix.dashboard.js"></script>*@
    @*<script src="/Areas/Admin/js/jquery.gritter.min.js"></script>
        <script src="/Areas/Admin/js/matrix.interface.js"></script>*@
    <script src="/Areas/Admin/js/matrix.chat.js"></script>
    <script src="/Areas/Admin/js/jquery.validate.js"></script>
    <script src="/Areas/Admin/js/matrix.form_validation.js"></script>
    @*<script src="/Areas/Admin/js/jquery.wizard.js"></script>*@
    @*<script src="/Areas/Admin/js/jquery.uniform.js"></script>*@
    <script src="/Areas/Admin/js/select2.min.js"></script>
    @*<script src="/Areas/Admin/js/matrix.popover.js"></script>*@
    @*<script src="/Areas/Admin/js/jquery.dataTables.min.js"></script>*@
    @*<scripkt src="/Areas/Admin/js/matrix.tables.js"></scripkt>*@

    <script src="~/Areas/Admin/js/bootstrap-dialog.min.js"></script>

    @RenderSection("scripts", required: false)


    <script type="text/javascript">
        // This function is called from the pop-up menus to transfer to
        // a different page. Ignore if the value returned is a null string:
        function goPage(newURL) {

            // if url is empty, skip the menu dividers and reset the menu selection to default
            if (newURL != "") {

                // if url is "-", it is this page -- reset the menu:
                if (newURL == "-") {
                    resetMenu();
                }
                    // else, send page to designated URL
                else {
                    document.location.href = newURL;
                }
            }
        }

        // resets the menu selection upon entry to this page:
        function resetMenu() {
            document.gomenu.selector.selectedIndex = 2;
        }

       

        @*$('#sidebar li').each(function (index,item) {
            if (item.eq(index).find('a').attr('href')== '@Request.RawUrl.ToString()')
                
            console.log(item);
        });*@


    </script>
</body>
</html>
